//
//  FMDBData.h
//  Homework
//
//  Created by xalo on 16/6/20.
//  Copyright © 2016年 许仕杰. All rights reserved.
//

#import <Foundation/Foundation.h>

@class Account;
@interface FMDBData : NSObject


//单例
+ (instancetype)sharedFMDB;

//创建表
- (void)creatTableSqlString:(NSString *)string;

//增
- (void)insertDataWithSqlString:(NSString *)string;

//删
- (void)deleteDataWithSqlString:(NSString *)string;

//改
- (void)updateDataWithSqlString:(NSString *)string;

//查
- (NSString *)selectDataSqlString:(NSString *)string content:(NSString *)name;

//查
- (NSString *)selectDataSqlString:(NSString *)string content:(NSString *)name;
- (void)insertDataWithSqlString:(NSString *)string string:(NSString *)string2;
- (Account *)select;
@end
